<template>
    <el-container style="height: 100%">
        <el-aside style="width:auto">
            <common-aside></common-aside>
        </el-aside>
        <el-container>
            <el-header>
                <common-header />
            </el-header>
            <common-tag></common-tag>
            <el-main>
                <!-- 路由出口 -->
                <!-- 路由匹配的组件将被渲染在这里 -->
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script>
import CommonAside from '@/components/CommonAside.vue'
import CommonHeader from '@/components/CommonHeader.vue'
import CommonTag from '@/components/CommonTag.vue'
export default {
    components: {
        CommonAside,
        CommonHeader,
        CommonTag
    },
    data() {
        return {}

    }
}
</script>

<style scope>
/* .el-header {
    background-color: #333;
}

.el-main {
    padding-top: 0;
}


body>.el-container {
    margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
    line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
    line-height: 320px;
} */
.el-header {
    background-color: #333;
}

.el-main {
    padding-top: 0;
}
</style>